Maximum Product of Splitted Binary Tree C